<%@ page language="java" pageEncoding="UTF-8"%>
<script type="text/javascript">
	$(function() {
		$('#student_relationshipEdit_relationshipCombobox').combobox({
			valueField : 'cvalue',
			textField : 'cname',
			editable:false,
			onSelect : function(rec) {
				$('#student_relationshipEdit_editRelationshipForm input[name=relationship]').val(rec.cvalue);
			}
		});
	});
</script>
<form id="student_relationshipEdit_editRelationshipForm" method="post">
	<table>
		<tr>
			<td style="text-align: right;">姓名：</td>
			<td><input name="name" class="easyui-validatebox" data-options="required:true,missingMessage:'必填项'" />
			<td style="text-align: right;">&nbsp;关系：</td>
			<td><input id="student_relationshipEdit_relationshipCombobox" name="relationshipName" class="easyui-combobox" data-options="required:true,missingMessage:'必填项'" /></td>
		</tr>
		<tr>
			<td style="text-align: right;">单位：</td>
			<td colspan="3"><input name="corporationName" style="width:360px;" />
			</td>
		</tr>
		<tr>
			<td style="text-align: right;">联系电话：</td>
			<td><input name="phone" />
			<td style="text-align: right;">&nbsp;QQ：</td>
			<td><input name="qq" /></td>
		</tr>
		<tr>
			<td style="text-align: right;">电子邮件：</td>
			<td colspan="3"><input name="email" class="easyui-validatebox" data-options="validType:'email'" style="width:360px;" />
			</td>
		</tr>
		<tr>
			<td style="text-align: right;">备注：</td>
			<td colspan="3"><textarea name="memo" style="width:360px;"></textarea></td>
		</tr>
	</table>
	<input name="id" type="hidden" />
	<input name="studentId" type="hidden" />
	<input name="relationship" type="hidden" />
</form>